package com.hs.service;

import com.hs.entity.Grade;
import com.hs.entity.TbUser;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface StudentService {
    List<Grade> findGradeListBySid(String sid);

    List<Map<String, Object>> queryEchartsByStudentId(Integer studentId);

    public Integer countExamTime(String studentId)throws SQLException;

    public Integer countTotalTime()throws SQLException;

    public Double calAverageScore(String studentId)throws SQLException;

    public Double calAllAverageScore()throws SQLException;

    public Integer countFailTime(String studentId)throws SQLException;

    public Integer examFind(String paperId, String studentId)throws SQLException;
}
